package com.mole.rbac.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("log")
public class LogController {
	private final static Logger LOGGER = LoggerFactory.getLogger(LogController.class);
	@GetMapping("hello")
	public String hello () {
		LOGGER.debug("hello {}", "world");
		return "hello world";
	}
}
